package com.up.vms.domain.module;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class ActivityDetailVO implements Serializable {
    private Long id;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    private String userName;
    private String userPhone;
    private String idNumber;

    private List<ActivityUploadAdditionalInfoVO> additionalInfoList;
    private List<ActivityUploadImageVO> imageList;
    private Long activityId;
    private Long userId;

    public ActivityDetailVO() {
        super();
    }

    public ActivityDetailVO(Long id, Date uploadTime, String userName, String userPhone, String idNumber) {
        super();
        this.id = id;
        this.uploadTime = uploadTime;
        this.userName = userName;
        this.userPhone = userPhone;
        this.idNumber = idNumber;
    }
}
